package com.ruoyi.system.ms.dataAuth.annations;

import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 配置在启动类上，用于mapper包扫描
 *
 * @Author: 马帅
 **/
@Component
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface MsDataAuthScans {
    //Mapper层所在的包名 继承BaseMapper
    String[] scanMapperPackages();
    //实体类所在的包名，含有@TableName注解的
    String[] scanEntityPackages();

}
